package com.chaosyeb.server.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description : 配置文件上传路径
 * @Author : Chaos
 * @Date : 2022/3/2 9:56
 * @Version : 1.0
 **/
@Component
@ConfigurationProperties(prefix = "preread")
public class UploadConfig {

    private String uploadPath;

    public String getUploadPath(){
        return uploadPath;
    }

    public void setUploadPath(String uploadPath){
        this.uploadPath = uploadPath;
    }

}
